class MyPlugin {
  constructor(option) {
    this.option = option
  }
  apply(compiler) {
    compiler.hooks.compilation.tap('MyPlugins', status => {
      console.log('hello')
      console.log(status)
      console.log(this.option)
    })
  }
}
module.exports = MyPlugin
